﻿import QtQuick 2.0
import QtQuick.Controls 1.3
import QtQuick.Layouts 1.1

Rectangle {
    id: titleBar
    Layout.fillWidth: true
    height: 30
    color: "#08BEE3"

    Row  {
        Button {
            id: back
            text: "back"
            onClicked: stack.pop()
        }

        Text {
            id: lab
            text: "层次:" + stack.depth
            //anchors.centerIn: titleBar
        }
    }
}
